﻿<div class="mainBody classmod" ng-controller="classmodCtrl">
	<span class="layui-breadcrumb" lay-separator="-">
	  <a href="">班级管理</a>
	  <a><cite>修改班级</cite></a>
	</span>
    <form class="contain layui-form">
        <blockquote class="layui-elem-quote">修改班级</blockquote>
        <hr/>
        <div class="layui-form-item">
            <label class="layui-form-label">班级类型：</label>
            <div class="layui-input-block">
                <select lay-ignore class="layui-input" name="clazztypeid" lay-verify="required"
                        ng-change="myFun(myValue)" ng-model="myValue">
                    <option value="">--请选择班级类型--</option>
                    <option ng-repeat="clazz in clazzs track by $index" value="{{clazz.typeid}}">{{clazz.typename}}
                    </option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">班级：</label>
            <div class="layui-input-block">
                <select  id="chonseOne" lay-ignore class="layui-input" name="clazzid" lay-verify="required" ng-change="myclazz(clazzid)"
                        ng-model="clazzid">
                    <option value="" >--请选择班级--</option>
                    <option ng-repeat="class in c track by $index" value="{{class.clazzid}}">{{class.clazzname}}
                    </option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">IP段：</label>
            <div class="layui-input-block">
                <input type="text" name="ipaddress" value="{{cl.ipaddress}}" required lay-verify="required"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">毕业状态：</label>
            <div class="layui-input-block" lay-ignores >
                已毕业:<input lay-ignore type="radio" name="isfinish" ng-model="cl.isfinish" value="1">
                未毕业:<input lay-ignore type="radio" name="isfinish" ng-model="cl.isfinish" value="0">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注：</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea">{{cl.remark}}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary" >重置</button>
            </div>
        </div>
    </form>

</div>